<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>

<html:html locale="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户登录</title>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/myspace.css" />
<script type="text/javascript" language="javascript" src="${pageContext.request.contextPath}/js/myspace.js"></script>
<style type="text/css">
<!--
body {
	background-color: #C9CED2;
	text-align: center;
	margin: 0px;
	padding: 0px;
}
-->
</style>
</head>

<body>
<div id="wrapper">

<div id="header">
<div id="left"></div>
<div id="logo" style="width: 920px;"><img
	src="${pageContext.request.contextPath}/image/logo-n05.gif" width="166"
	height="53" /></div>
<div id="right"
	style="background: url(${pageContext.request.contextPath}/image/top-n_bg2.gif) no-repeat top right;"></div>
</div>

<div id="body">
<div id="content" align="center">
<div id="titleRound" style="margin-top: 80px; color: #6B9E18;">
<div id="left"></div>
<div id="right"></div>
用户登录</div>
<table width="40%" cellspacing="0" cellpadding="0">
	<tr>
		<td height="131" valign="top">
		<table width="100%" cellpadding="0" cellspacing="2" bgcolor="#EFEBEF">
			<tr>
				<td height="103" valign="top" bgcolor="#FFFFFF">
				<table width="100%" cellspacing="0" cellpadding="0">
					<tr>
						<td height="10"></td>
					</tr>
				</table>
				<html:form action="/user/login" method="post" styleId="mainForm">
					<table width="95%" border="0" cellpadding="0" cellspacing="0">
						<tr>
							<td colspan="4" align="center">
							<table width="100%" border="0" cellpadding="0">
								<tr style="height: 40px">
									<td width="83" align="right" nowrap="nowrap" class="STYLE1"
										style="height: 40px">用 户 名：</td>
									<td width="180" align="left"><html:text
										styleId="user.name" property="user.name" style="width: 180px;"
										maxlength="20"></html:text></td>
									<td width="79" align="left">&nbsp;<font color="red"><html:errors
										bundle="msg" property="user.name" /></font></td>
								</tr>
								<tr style="height: 40px">
									<td align="right" class="STYLE1">密 码：</td>
									<td align="left"><html:password styleId="user.password"
										property="user.password" style="width: 180px;" maxlength="20"></html:password>
									</td>
									<td align="left">&nbsp;<font color="red"><html:errors
										bundle="msg" property="user.password" /></font></td>
								</tr>
							</table>
							</td>
						</tr>
						<tr>
							<td width="19%" height="40" align="center">&nbsp;</td>
							<td width="58%" align="center"><img
								src="${pageContext.request.contextPath}/image/button-login.gif"
								onclick="doLogin()" style="cursor: pointer;"/></td>
							<td width="23%" align="center" valign="bottom"
								style="padding-bottom: 5px;">
							<a	href="${pageContext.request.contextPath}/user/register.jsp">新用户注册&gt;&gt;</a></td>
						</tr>
					</table>
				</html:form></td>
			</tr>
		</table>
		</td>
	</tr>
</table>
<span id="copyright" style="margin-top: 80px;">Copyright
©2007-2008 Allen.Chen</span></div>
</div>

<div id="footer">
<div id="left"></div>
<div id="right"></div>
</div>
</div>
</body>
</html:html>
